<template>
  <div class="header center">
    <Header></Header>
  </div>
  <div class="nav center"><Nav></Nav></div>
  <div class="view">
    <router-view />
  </div>
  <div class="footer">
    <Footer></Footer>
  </div>
</template>

<script lang="ts" setup>
import Header from "@/components/Header.vue";
import Nav from "@/components/Nav.vue";
import Footer from "@/components/Footer.vue";

import { useRouter, useRoute } from "vue-router";
import { computed, onMounted, reactive, ref, watch } from "vue";
import { useStore } from "vuex";
import { ElMessage } from "element-plus";
</script>
<style lang="less" scoped>
.header {
  position: fixed;
  top: 0;
  z-index: 1000;
  text-align: center;
}
.nav {
  margin-top: 120px;
}
.center {
  width: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
}
.view {
  width: 1200px;
  margin: 0 auto;
}
.footer{
    font-size: 12px;
    zoom: 1;
    width: 1200px;
  margin: 0 auto;
}
</style>
